<table id="list" class="routes">
	<tr class="header">
		<th class="first">Name</th>
		<th class="second">Couriers</th>
		<th class="last"></th>
	</tr>
	<% for route in @page_results %>
		<tr class="row<%= ' fade' if route.hidden %>">
			<td class="first">
				<%= route.name %>
			</td>
			<td class="second">
				<%= route.route_recurrence_rules.map {|x| x.courier.real_name}.inject {|a,e| "#{a}, #{e}"} %>
			</td>
			<td class="last">
				<%= link_to (route.hidden ? 'Un-Hide' : 'Hide'), route, :method => :delete %>
				<%= link_to 'Edit', edit_route_path(route) %>
			</td>
		</tr>
	<% end %>
</table>
